package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【教师】对象 tb_teacher
 * 
 * @author ruoyi
 * @date 2024-06-11
 */
public class TbTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 教师号 */
    @Excel(name = "教师号")
    private String tno;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 电话 */
    @Excel(name = "电话")
    private String telephone;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 照片 */
    @Excel(name = "照片")
    private String portraitPath;

    /** 班级 */
    @Excel(name = "班级")
    private String clazzName;

    /** 学院 */
    @Excel(name = "学院")
    private String academy;

    /** 专业 */
    @Excel(name = "专业")
    private String major;

    /** 年级 */
    @Excel(name = "年级")
    private String grade;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTno(String tno) 
    {
        this.tno = tno;
    }

    public String getTno() 
    {
        return tno;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setPortraitPath(String portraitPath) 
    {
        this.portraitPath = portraitPath;
    }

    public String getPortraitPath() 
    {
        return portraitPath;
    }
    public void setClazzName(String clazzName) 
    {
        this.clazzName = clazzName;
    }

    public String getClazzName() 
    {
        return clazzName;
    }
    public void setAcademy(String academy) 
    {
        this.academy = academy;
    }

    public String getAcademy() 
    {
        return academy;
    }
    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tno", getTno())
            .append("name", getName())
            .append("gender", getGender())
            .append("password", getPassword())
            .append("email", getEmail())
            .append("telephone", getTelephone())
            .append("address", getAddress())
            .append("portraitPath", getPortraitPath())
            .append("clazzName", getClazzName())
            .append("academy", getAcademy())
            .append("major", getMajor())
            .append("grade", getGrade())
            .toString();
    }
}
